<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ip::basic_address_range&lt; address_v4 &gt;::iterator</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio">
<link rel="up" href="../ip__basic_address_range_lt__address_v4__gt_.html" title="ip::basic_address_range&lt; address_v4 &gt;">
<link rel="prev" href="find.html" title="ip::basic_address_range&lt; address_v4 &gt;::find">
<link rel="next" href="operator_eq_.html" title="ip::basic_address_range&lt; address_v4 &gt;::operator=">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="asio C++ library" width="250" height="60" src="../../../asio.png"></td></tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="find.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_address_range_lt__address_v4__gt_.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="operator_eq_.html"><img src="../../../next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator"></a><a class="link" href="iterator.html" title="ip::basic_address_range&lt; address_v4 &gt;::iterator">ip::basic_address_range&lt;
        address_v4 &gt;::iterator</a>
</h4></div></div></div>
<p>
          <a class="indexterm" name="asio.indexterm.ip__basic_address_range_lt__address_v4__gt_.iterator"></a> 
The type of an iterator that points into the range.
        </p>
<pre class="programlisting"><span class="keyword">typedef</span> <span class="identifier">basic_address_iterator</span><span class="special">&lt;</span> <span class="identifier">address_v4</span> <span class="special">&gt;</span> <span class="identifier">iterator</span><span class="special">;</span>
</pre>
<h6>
<a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.h0"></a>
          <span><a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.types"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.types">Types</a>
        </h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                  <p>
                    Name
                  </p>
                </th>
<th>
                  <p>
                    Description
                  </p>
                </th>
</tr></thead>
<tbody>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/difference_type.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::difference_type"><span class="bold"><strong>difference_type</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Distance between two iterators.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/iterator_category.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::iterator_category"><span class="bold"><strong>iterator_category</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Denotes that the iterator satisfies the input iterator requirements.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/pointer.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::pointer"><span class="bold"><strong>pointer</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    The type of a pointer to an element pointed to by the iterator.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/reference.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::reference"><span class="bold"><strong>reference</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    The type of a reference to an element pointed to by the iterator.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/value_type.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::value_type"><span class="bold"><strong>value_type</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    The type of the elements pointed to by the iterator.
                  </p>
                </td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.h1"></a>
          <span><a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.member_functions"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.member_functions">Member
          Functions</a>
        </h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                  <p>
                    Name
                  </p>
                </th>
<th>
                  <p>
                    Description
                  </p>
                </th>
</tr></thead>
<tbody>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/basic_address_iterator.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::basic_address_iterator"><span class="bold"><strong>basic_address_iterator</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Construct an iterator that points to the specified address.
                    <br> <span class="silver"> —</span><br> Copy constructor.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/operator__star_.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::operator *"><span class="bold"><strong>operator *</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Dereference the iterator.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/operator_plus__plus_.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::operator++"><span class="bold"><strong>operator++</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Pre-increment operator. <br> <span class="silver"> —</span><br> Post-increment operator.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/operator_minus__minus_.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::operator--"><span class="bold"><strong>operator--</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Pre-decrement operator. <br> <span class="silver"> —</span><br> Post-decrement operator.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/operator_arrow_.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::operator-&gt;"><span class="bold"><strong>operator-&gt;</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Dereference the iterator.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/operator_eq_.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::operator="><span class="bold"><strong>operator=</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Assignment operator.
                  </p>
                </td>
</tr>
</tbody>
</table></div>
<h6>
<a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.h2"></a>
          <span><a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.friends"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.friends">Friends</a>
        </h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                  <p>
                    Name
                  </p>
                </th>
<th>
                  <p>
                    Description
                  </p>
                </th>
</tr></thead>
<tbody>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/operator_not__eq_.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::operator!="><span class="bold"><strong>operator!=</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Compare two addresses for inequality.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <a class="link" href="../ip__basic_address_iterator_lt__address_v4__gt_/operator_eq__eq_.html" title="ip::basic_address_iterator&lt; address_v4 &gt;::operator=="><span class="bold"><strong>operator==</strong></span></a>
                  </p>
                </td>
<td>
                  <p>
                    Compare two addresses for equality.
                  </p>
                </td>
</tr>
</tbody>
</table></div>
<p>
          In addition to satisfying the input iterator requirements, this iterator
          also supports decrement.
        </p>
<h6>
<a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.h3"></a>
          <span><a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.thread_safety"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.thread_safety">Thread
          Safety</a>
        </h6>
<p>
          <span class="emphasis"><em>Distinct</em></span> <span class="emphasis"><em>objects:</em></span> Safe.
        </p>
<p>
          <span class="emphasis"><em>Shared</em></span> <span class="emphasis"><em>objects:</em></span> Unsafe.
        </p>
<h6>
<a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.h4"></a>
          <span><a name="asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.requirements"></a></span><a class="link" href="iterator.html#asio.reference.ip__basic_address_range_lt__address_v4__gt_.iterator.requirements">Requirements</a>
        </h6>
<p>
          <span class="emphasis"><em>Header: </em></span><code class="literal">asio/ip/address_v4_range.hpp</code>
        </p>
<p>
          <span class="emphasis"><em>Convenience header: </em></span><code class="literal">asio.hpp</code>
        </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2003-2022 Christopher M. Kohlhoff<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="find.html"><img src="../../../prev.png" alt="Prev"></a><a accesskey="u" href="../ip__basic_address_range_lt__address_v4__gt_.html"><img src="../../../up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../home.png" alt="Home"></a><a accesskey="n" href="operator_eq_.html"><img src="../../../next.png" alt="Next"></a>
</div>
</body>
</html>
